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


바이트를 지정된 스트림에 복사합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | 데이터가 복사될 [Stream](../) |

## 또 보기

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


지정된 버퍼 크기를 사용하여 바이트를 지정된 스트림에 복사합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| destination | const SharedPtr\<Stream\>\& | 데이터가 복사될 [Stream](../) |
| buffer_size | int32_t | 버퍼의 크기. |

## 또 보기

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