## StringBuilder::CopyTo method


将构建器的数据复制到现有数组位置。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| sourceIndex | int | 在构建器中开始复制的索引。 |
| destination | System::ArrayPtr\<char_t\> const\& | 目标数组。 |
| destinationIndex | int | 目标数组中开始插入的索引。 |
| count | int | 要复制的字符数。 |

## 另见

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