public void copyChars(char[] otherChars,int otherOffset,int otherLength){
  grow(otherLength);
  System.arraycopy(otherChars,otherOffset,ref.chars,0,otherLength);
  ref.length=otherLength;
}

public void copyChars ( char [ ] otherChars , int otherOffset , int otherLength ) { grow ( otherLength ) ; System . arraycopy ( otherChars , otherOffset , ref . chars , 0 , otherLength ) ; ref . length = otherLength ; }
copies the given array into this instance .
