
## toArray() {#default}

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



```js
toArray()
```

### Returns

An array of ``HeaderFooter`` s.


### See Also

* module [Aspose.Words](../../)
* class [HeaderFooterCollection](../)

