Merge the arrays.