Implementing copy_entries().