public static void copyResourceToFile(String resourcePath, File file) {
		copyResourceToFile(new ClassPathResource(resourcePath), file);
	}
Copy the given resource to the given file.

@param resourcePath resource path
@param file         file to write
@since 3.2
ngrinder-controller/src/main/java/org/ngrinder/common/util/FileUtils.java