private static String [ ] extractLauncherArgs ( String [ ] args , int commandIndex ) { String [ ] launcherArgs = new String [ commandIndex ] ; System . arraycopy ( args , 0 , launcherArgs , 0 , commandIndex ) ; return launcherArgs ; }
Extracts the launcher arguments from the all arguments array .