mergearrays