add support for another change type, 'copies'. The previous implementation for Hg was also slightly flawed in the way that it mixed sources with targets.