copy in place