public static <T>T[] append(T[] field,int size,T... values){
  field=expand(field,(size + values.length),true);
  System.arraycopy(values,0,field,size,values.length);
  return field;
}

public static < T > T [ ] append ( T [ ] field , int size , T ... values ) { field = expand ( field , ( size + values . length ) , true ) ; System . arraycopy ( values , 0 , field , size , values . length ) ; return field ; }
appends entries to an array . the array will be expanded if needed
