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


Copia bytes al flujo especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | [Stream](../) al que se copiarán los datos. |

## Ver también

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


Copia bytes al flujo especificado, usando el tamaño de búfer especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | [Stream](../) al que se copiarán los datos. |
| buffer_size | int32_t | Tamaño del búfer. |

## Ver también

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