How could I copy argv vector into a new one in order to modify it and then pass new arguments to a function? Sorry if it's a basic stuff, I am not a C++ programmer.
int main(int argc, char *argv[])
{
parseCommandLine(argc, argv);
and would like to:
int main(int argc, char *argv[])
{
//Here copy argv[] to argv2[] and modify argv2[0]
parseCommandLine(argc, argv2);