Creates a new array that contains all of the values in the set.
an array containing all the values in the set