Added cancellationToken to copyToAsync