复制文件 @param srcFilePath 源文件路径 @param destFilePath 目标文件路径 @return true: 复制成功 false: 复制失败
(String srcFilePath, String destFilePath)
| 396 | * @return {@code true}: 复制成功<br>{@code false}: 复制失败 |
| 397 | */ |
| 398 | public static boolean copyFile(String srcFilePath, String destFilePath) throws IOException { |
| 399 | return copyFile(getFileByPath(srcFilePath), getFileByPath(destFilePath)); |
| 400 | } |
| 401 | |
| 402 | /** |
| 403 | * 复制文件 |
nothing calls this directly
no test coverage detected