## BitArray::CopyTo method


Copies data to existing array elements.

```cpp
void System::Collections::BitArray::CopyTo(System::ArrayPtr<bool> array, int arrayIndex) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| array | System::ArrayPtr\<bool\> | Destination array. |
| arrayIndex | int | Destination array beginning index. |

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [BitArray](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
