
## toArray() {#default}

Copies all sections from the collection to a new array of sections.


```js
toArray()
```

### Returns

An array of sections.


### See Also

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

