## StringBuilder::CopyTo method


Copies builder's data into existing array positions.

```cpp
void System::Text::StringBuilder::CopyTo(int sourceIndex, System::ArrayPtr<char_t> const &destination, int destinationIndex, int count)
```


| Parameter | Type | Description |
| --- | --- | --- |
| sourceIndex | int | Index in builder to start copying from. |
| destination | System::ArrayPtr\<char_t\> const\& | Destination array. |
| destinationIndex | int | Index in destination array to start insertion at. |
| count | int | Number of characters to copy. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [StringBuilder](../)
* Namespace [System::Text](../../)
* Library [Aspose.PUB for C++](../../../)
