argv is not a one dimension array but its array of pointers and so you should be copying them to the other array of pointers and not into just an array. As a pseudo code
Code:
for(int i = 0; i<255;i++)
 a[i] = arg[1][i]; // Copy the content of the second array