copied and replaced the last file