Given an array Array<VkDeviceQueueCreateInfo> I want to convert it to a C Array of C values (or pointer to the first item), i. e. VkDeviceQueueCreateInfo*.
This is where I'm getting a type mismatch (obviously):

How do I convert this Array<VkDeviceQueueCreateInfo> to CPointer<VkDeviceQueueCreateInfo>?
I don't want to create an array of pointers.
I created this extension function that allocates a new array on the given
NativePlacementand then copies every single item from the source collection to the newly allocated array and returns that array.It might not be that great of a solution but is the best I was able to come up with.