title: Set array1 = array2 in C++
body: <p>I have one initialized array <code>arr1</code> and one declared array <code>arr2</code>. How can I simply set <code>arr2 = arr1</code>?</p>
  
  <pre><code>void setup() {
  
    int arr1[5][2]= { {1,1},
                      {1,2}};
  
    int arr2[5][2];
  
  
    arr2 = arr1; // Throws error "invalid array assignment"
  }
  </code></pre>
  
  <p>Is it possible to do that in C++? And if so, how? I'd like to prevent using loops for this.</p>