Practice #2
Lesson 10 of 11 in Coddy's File Handling in Java course.
Challenge
EasyWrite a function called copyCoddy that gets no arguments and copies the content of a file named "coddy.txt" to a file named "coddy2.txt".
Try it yourself
class CopyCoddy {
public static void copyCoddy() {
// Write code here
}
}All lessons in File Handling in Java
Practice on your own: Online Java compiler