Improved COPY handling in dudiff