Bugfix: re-added copy routines removed in last commit (e941c1fe3)