Creates a new array with n_elements slots already allocated.
number of slots to pre-allocate
the newly created array
Creates a new array with n_elements slots already allocated.