union of 2 unsorted arrays (with duplicates)