Removed copy_file from helper and used system copy_file in rake task.