复制文件 @param resourcePath 源文件 @param targetPath 目标文件 @return 是否成功
(String resourcePath, String targetPath)
| 339 | * @return 是否成功 |
| 340 | */ |
| 341 | public final static boolean copy(String resourcePath, String targetPath) { |
| 342 | File file = new File(resourcePath); |
| 343 | return copy(file, targetPath); |
| 344 | } |
| 345 | |
| 346 | /** |
| 347 | * 复制文件 |