Thanks! But do I have to allocate memory, if I use memcpy only?
Currently I have this function, but is is not working, though I get no errors

Quote:
var maparray[MAX_CELLS][MAX_CELLS][3]; //GLOBAL MAP CELL ARRAYS
var maparray2[MAX_CELLS][MAX_CELLS][3];

.... here arrays are filled with info and then....

memcpy(&maparray2, &maparray, sizeof(var) * MAX_CELLS * MAX_CELLS * 3);



What kills me not, that makes me stronger.

***Working on RPG/RTS***