Create mergeArray