how to copy two-dimension array from one to another in java
<p>I would like to know what is the right way to copy two-dimension array from temporary array into original array.
The array size is unknown at the beginning of the program and user is set it later on.
here's the code:</p>

<blockquote>
  <p>private static void copy_Matrix(int origin_Matrix[][] , int copy_Matrix[][], int row, int 
  column) </p>
  
  <p>{</p>

<pre><code>      for ( int i = 0 ; i &lt; row-1; ++i)
      {
          for (int j = 0; j &lt; column; j++)
          {
              origin_Matrix[i][j] = copy_Matrix[i][j]; 

          }
      }
</code></pre>
  
  <p>}</p>
</blockquote>

<p>I know it's wrong, please help..</p>
