I want to copy an int array to another int array. They use the same define for length so they\'ll always be of the same length.
What are the pros/cons of the followi
How about?
memcpy(dst, src, &src[ARRAY_LENGTH] - &src[0]);
This should work even if the size of individual elements was smaller than the size taken by each item in the actual array.