Fixing auto target in copy()