title: How to access second part of 2d array
body: <p>Ok im trying to loop through a 2d array to copy from one to another. I can assign the integers from the first part using:</p>
  
  <pre><code>array1[i] = array2[i];
  </code></pre>
  
  <p>but I cannot do the same for the other part e.g:</p>
  
  <pre><code>array1[][j] = array2[][j];  //this doesn't compile
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>array1[0]j = array2[0][j];  //creates run time error
  </code></pre>
  
  <p>How can I specfically copy the second part but not the first? </p>