Implemented recursive copying of folders.