HeaderFooterCollection.toArray method. Copies all ``HeaderFooter`` s from the collection to a new array of ``HeaderFooter`` s....HeaderFooterCollection.toArray method. Copies all ``HeaderFooter`` s from the collection to a new array of ``HeaderFooter`` s.