public static void copyExcept(Object src,Object dst,int oldSize,int removeIndex){
  if (removeIndex > 0 && oldSize > 0) {
    System.arraycopy(src,0,dst,0,removeIndex);
  }
  if (removeIndex < oldSize) {
    System.arraycopy(src,removeIndex + 1,dst,removeIndex,oldSize - removeIndex - 1);
  }
}

public static void copyExcept ( Object src , Object dst , int oldSize , int removeIndex ) { if ( removeIndex > 0 && oldSize > 0 ) { System . arraycopy ( src , 0 , dst , 0 , removeIndex ) ; } if ( removeIndex < oldSize ) { System . arraycopy ( src , removeIndex + 1 , dst , removeIndex , oldSize - removeIndex - 1 ) ; } }
copy the elements of an array , and remove one element .
