use streamutil replace CopyTo