RemoveDuplicatesFromSortedArray2