Implement withCopyIn