public static void copyFile(File file, File destPath) throws IOException {
		if(file.isDirectory()) {
			return;
		}
		if(!destPath.exists()) {
			destPath.mkdirs();
		}
		FileInputStream fis = new FileInputStream(file);
		FileOutputStream fos = new FileOutputStream(new File(destPath, file.getName()));
		byte [] buf = new byte[BUFFER_SIZE];
		int length = -1;
		while((length = fis.read(buf)) != -1) {
			fos.write(buf, 0, length);
		}
		fos.flush();
		fos.close();
		fis.close();
	}