icegem-cache-utils/src/main/java/com/googlecode/icegem/cacheutils/Launcher.java
private static String[] extractLauncherArgs(String[] args, int commandIndex) {
	String[] launcherArgs = new String[commandIndex];

	System.arraycopy(args, 0, launcherArgs, 0, commandIndex);

	return launcherArgs;
    }
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.

@param args
- All arguments.
@param commandIndex
- Index of the command.
@return - Launcher arguments.