public static String [ ] cloneArray ( final String [ ] inputArray ) { final String [ ] array = new String [ inputArray . length ] ; System . arraycopy ( inputArray , 0 , array , 0 , inputArray . length ) ; return array ; }
To make the clone copy of the given String array . This method is faster than the clone method of String array .