Merge "Fix copy() using iterators from different containers"