Well basically, if you're wanting to copy the whole array then what SirDice told you is correct. You can do something like the following:

Code:
char a[50], b[50];
int x=0;

for(; x<sizeof(b); x++)
  a[x]=b[x];
Once that has executed, a and b will have equivalent contents. Of course, you could also use memcpy:

Code:
char a[50], b[50];

memcpy(a, b, sizeof(b));
Have a look at http://www.cplusplus.com/reference/c...ng/memcpy.html

ac