Function that returns a new array of Integers.
Returns a new Integer array of the specified number of elements.
size
Integer that represents the number of elements in the new array.