private void internalCoordCopy(int[] coords){
  if ((this.coordCopy == null) || (this.coordCopy.length != coords.length)) {
    this.coordCopy=new int[coords.length];
  }
  System.arraycopy(coords,0,coordCopy,0,coords.length);
}

private void internalCoordCopy ( int [ ] coords ) { if ( ( this . coordCopy == null ) || ( this . coordCopy . length != coords . length ) ) { this . coordCopy = new int [ coords . length ] ; } System . arraycopy ( coords , 0 , coordCopy , 0 , coords . length ) ; }
makes a copy of the coordinate array so that the original is not messed up .
