Auf Thema antworten

Hallo und Willkommen im Forum,


guck dir mal die Klasse Files an!


[code=Java]

try {

Files.copy(Paths.get("C:/test/test.txt"), Paths.get("C:/test/test2.txt"));

} catch (IOException e) {

e.printStackTrace();

}

[/code]



Oben