Obnovenie funkcie copy_to_new_location.