Copy operation

Adds copy operation support.