implementations and tests for copy
now that we're searching to the next index that code path isn't reachable