copy: respect ui.relative-paths in copy/rename

Authored by martinvonz.