[duim,gtk] Migrate do-copy-area

When the from-medium and to-medium coincide follow the example in the migration
guide: https://developer.gnome.org/gtk3/3.5/gtk-migrating-2-to-3.html
Merge pull request #543 from fracek/duim-gtk-fixes-4

[duim,gtk] Migrate do-copy-area