Merge array