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