复制文件 win java
// 重命名文件: public static void rename() throws IOException { copyFile(new File("H:\\Company\\module\\aa.vue"), new File("H:\\Company\\module\\aa_1.vue")); }
引入
import static com.sun.deploy.cache.Cache.copyFile;
相关博文:
https://blog.csdn.net/qq_44102963/article/details/122326341