public static char[] concat(char[] base,char[] other,int appendCount){
  final int length=base.length;
  char[] newArray=copyFrom(base,base.length + appendCount);
  System.arraycopy(other,0,newArray,length,appendCount);
  return newArray;
}

public static char [ ] concat ( char [ ] base , char [ ] other , int appendCount ) { final int length = base . length ; char [ ] newArray = copyFrom ( base , base . length + appendCount ) ; System . arraycopy ( other , 0 , newArray , length , appendCount ) ; return newArray ; }
appends appendcount number of elements of given array other to given array base
