BuildMaster SDK Reference
   
  
    
      
        Version: 
        
      
      
      
      CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) Method
  
            Copies the contents of this stream starting from the current position to another stream.
            
 
  Syntax
  
    public
    virtual
    System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken)
  Parameters
  
    - destination
 
    - Type: System.IO.Stream
The target stream.
 
  
  
    - bufferSize
 
    - Type: int
The desired buffer size.
 
  
  
    - cancellationToken
 
    - Type: System.Threading.CancellationToken
The cancellation token.