question: public static String [ ] toStringArray ( Collection < String > collection ) { if ( collection == null ) { return null ; } return collection . toArray ( new String [ collection . size ( ) ] ) ; }
target:  Copy the given Collection into a String array. The Collection must contain String elements only.