You can use the memcpy function
#define ARRAY_LENGTH 256 int dst[ARRAY_LENGTH]; memcpy( dst, src, sizeof(dst) );