Merge two sorted arrays.