Fix support for `copy`