Copy a file and rename the file before adding to the folder

@Ellen

check the reference