Copy directory from a jar file
Thanks for the solution! For others, the following doesn’t make use of the auxiliary classes (except for StringUtils) /I added extra information for this solution, check the end of the code, Zegor V/ public class FileUtils { public static boolean copyFile(final File toCopy, final File destFile) { try { return FileUtils.copyStream(new FileInputStream(toCopy), new FileOutputStream(destFile)); } … Read more