merge two arrays into first array