code: public void set( DMatrixD1 b )
      {
          this.reshape(b.numRows,b.numCols);
  
          int dataLength = b.getNumElements();
  
          System.arraycopy(b.data, 0, this.data, 0, dataLength);
      }
docs: Sets the value of this matrix to be the same as the value of the provided matrix.  Both
  matrices must have the same shape:<br>
  <br>
  a<sub>ij</sub> = b<sub>ij</sub><br>
  <br>
  
  @param b The matrix that this matrix is to be set equal to.