Copying a multidimensional array

I have 2 multidimensional array, both of the same size. I need to copy the content from one to another. Is there a better way for doing that than this one??

for(var i : int = 0; i < cols; i++) {
     for(var j : int = 0; j < rows; j++) {
          myArr1_[j] = myArr2*[j];*_

}
* }*
EDIT: Im using JS.

System.Array.Copy (myArr1, myArr2, myArr1.GetLength(0)*myArr1.GetLength(1));