public static boolean writeFileFromFile(File srcFile, String savePath, String saveFileName) {
		if ((srcFile == null) || (srcFile.length() <= 0L)) return false;
		makeDir(savePath);
		FileInputStream fis = null;
		FileOutputStream fos = null;
		boolean result = false;
		
		try {
			int offset = 0;
			byte[] buf = new byte[1024];

			fis = new FileInputStream(srcFile);
			fos = new FileOutputStream(savePath + File.separator + saveFileName);

			while ((offset = fis.read(buf)) != -1)
			fos.write(buf, 0, offset);
			result = true;
		} catch (IOException ioe) {
			//log.error("Raised exception while write file - " + ioe.getMessage());
			result = false;
		} finally {
			if (fos != null) try { fos.close(); } catch (Exception localException2) { }
			if (fis != null) try { fis.close(); } catch (Exception localException3) { }
		}
		return result;
	}