Copy two sorted array