End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
FileUtils#copy_stream
copy_stream(src, dest)
lib/fileutils.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/fileutils.rb, line 1098
def copy_stream(src, dest)
IO.copy_stream(src, dest)
end
Copies IO stream src to IO stream dest via IO.copy_stream.
Related: methods for copying.