memcpy should work... make sure they are the same size and type if using memcpy unless you are trying to do some type of conversion (i.e. ints to 8 bit values you could use a char array) HOwever if you
unsigned int dim2orig[3][3];
unsigned int dim2copy[3][3];
i would use memcpy as
memcpy(*dim2copy,*dim2orig,sizeof(dim2copy));
Matt