Returns an array containing all of the elements in this list in the correct order.
Returns an array containing all of the elements in this list in the correct order.Note: The pointer array returned is malloced from heap, the caller has to free it after it is no longer needed!
The size of the pointer array malloced and returned is defined by the pblListSize() of the list.
This method has a time complexity of O(N), with N being the size of the list.