question: public static final Object [ ] trim ( Object [ ] a , int size ) { if ( a . length == size ) { return a ; } else { Object [ ] b = new Object [ size ] ; System . arraycopy ( a , 0 , b , 0 , size ) ; return b ; } }
target:  Trims an array to be exactly the target a size.