question: public static final double [ ] resize ( double [ ] a , int size ) { if ( a . length >= size ) return a ; double [ ] b = new double [ size ] ; System . arraycopy ( a , 0 , b , 0 , a . length ) ; return b ; }
target:  Resize the given array as needed to meet a target size.