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