How to save new array?
<p>I am have an array:</p>

<pre><code>var data = [
    [0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0]
];
</code></pre>

<p>And if I run my code this array changes to something like:</p>

<pre><code>var data = [
    [1, 0, 0, 0, 0],
    [1, 1, 0, 0, 0],
    [1, 1, 1, 0, 0]
];
</code></pre>

<p>And my question: How to save or copy this new array?</p>
