allocate Array
Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().