Added --copy-dest logic, and improved the updating of --compare-dest