Creates a new array which is filled with the elements in the collection.
public function ToArray: TArray<TGenericPair>; override;