Copy content of array in arduino programming
<p>This may be an easy question, but i couldn't find out how to do this. Im programming for arduino and im trying to copy the content from one array to another. I've programmed in python before and hoped that this would work, but it didn't.</p>

<pre><code>int myArray1[] = {0, 2, 4, 5, 7, 9, 11};
int myArray2[] = {0, 2, 3, 5, 7, 8, 10};
int myArray3[] = {0, 3, 5, 6, 7, 10};

int newArray[] = myArray2;
</code></pre>

<p>I wanted to only have to change one place in my code, which of the first three arrays i want my new array to take values from. Do anyone have any suggestions on how to do this? </p>