
## toArray() {#default}

Copies all building blocks from the collection to a new array of building blocks.


```js
toArray()
```

### Returns

An array of building blocks.


### See Also

* module [Aspose.Words.BuildingBlocks](../../)
* class [BuildingBlockCollection](../)

