copy first, then merge