FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 176 Ask New Question


I want to copy and paste a file from one location to another location in Java, Is there any one liner solution available?

On By


1 Answer


Files.copy(Paths.get("/from/location/foo.txt"), Paths.get("/to/location/foo.txt"));
On By


Answer This Question


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News