## Stream::CopyTo(const SharedPtr\<Stream\>\&) method


Kopieert bytes naar de opgegeven stream.

```cpp
void System::IO::Stream::CopyTo(const SharedPtr<Stream> &destination)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | [Stream](../) waaraan gegevens worden gekopieerd. |

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../)
* Class [Stream](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
## Stream::CopyTo(const SharedPtr\<Stream\>\&, int32_t) method


Kopieert bytes naar de opgegeven stream, met gebruik van de opgegeven buffergrootte.

```cpp
void System::IO::Stream::CopyTo(const SharedPtr<Stream> &destination, int32_t buffer_size)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | [Stream](../) waaraan gegevens worden gekopieerd. |
| buffer_size | int32_t | Grootte van de buffer. |

## Zie ook

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../)
* Class [Stream](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
