How to copy file in Java - code example

2

Simple Java program to copy file in Java from one directory to other. Java File API does not provide any method to copy file or directory. In order to copy file you need to use InputStream and OutputStream and recreate file in destination folder

Read this post on javarevisited.blogspot.com


Javin Paul

blogs from Mumbai