Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

QUOTE
how do i create another array with the same size
... I would think that this is fairly simple. Or maybe I just mis-understand what you are asking.
cpp
#include <stdio.h>
#define MAX 256
int main(void) {
char array1[MAX];
char array2[MAX];
printf("The size of both arrays is %d\n",MAX);
return 0;
}
If you define your MAX size, then it'll always be the same value, as long as you use it when defining the array. Again, I
think this is what you're asking, yes?