Heap allocation for new arrays.