code: public void setTo( int[] array , int offset , int length ) {
  		resize(length);
  		System.arraycopy(array,offset,data,0,length);
  	}
docs: Sets this array to be equal to the array segment
  @param array (Input) source array
  @param offset first index
  @param length number of elements to copy