public static void main(String[] args) throws Exception {
Files.copy(Paths.get("file/text.txt"), new FileOutputStream("nio.txt"));
}
相关文章:
public static void main(String[] args) throws Exception {
Files.copy(Paths.get("file/text.txt"), new FileOutputStream("nio.txt"));
}
相关文章: