I'm wondering if there is a way to do something like this:

Code:
const int constArray[3][3] = {0, 1, 0, 1, 1, 1, 0, 1, 0};
int myArray[3][3];

...
myArray = constArray;
...
Obviously I could just loop over the arrays and set each element, but that seems inefficient. I'm not suprised that the above doesn't work. I half-heartedly tried assigning the address of myArray to the address of constArray but that didn't work either. I've got a few other ideas bouncing around but I thought I'd ask and see if anyone has a particularly good way of doing this before I do something strange (as I'd done a fair bit of searching and didn't turn up anything).