jodd-core/src/main/java/jodd/io/FileUtil.java
public static File copyFileToDir(final File srcFile, final File destDir) throws IOException {
		checkExistsAndDirectory(destDir);
		File destFile = file(destDir, srcFile.getName());
		copyFile(srcFile, destFile);
		return destFile;
	}
public static File copyFileToDir(final File srcFile, final File destDir) throws IOException {
		checkExistsAndDirectory(destDir);
		File destFile = file(destDir, srcFile.getName());
		copyFile(srcFile, destFile);
		return destFile;
	}
public static File copyFileToDir ( final File srcFile , final File destDir ) throws IOException { checkExistsAndDirectory ( destDir ) ; File destFile = file ( destDir , srcFile . getName ( ) ) ; copyFile ( srcFile , destFile ) ; return destFile ; }
Copies a {@link File} to directory with specified copy params and returns copied destination.
Copies a {