## String::CopyTo method


Kopiert Zeichenkettenzeichen in vorhandene Array-Elemente. Es wird keine Größenänderung vorgenommen.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| sourceIndex | int | Index im String, von dem gelesen werden soll. |
| destination | const ArrayPtr\<char_t\>\& | Ziel-Array. |
| destinationIndex | int | Index im Array, von dem geschrieben werden soll. |
| count | int | Anzahl der zu kopierenden Zeichen. |

## Siehe auch

* Typedef [ArrayPtr](../../arrayptr/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
