Revert "Revert "add copy functionality""

This reverts commit 060ce8158385dc775abc5749cf37350489b80d98.