Added 2 arrays merging method