copyuntil(out::IO, in::IO, delim) (#48273)
Note that this defines the lock order as `out` then `in` for streams
which may try to take both locks. This is now a mandatory API
convention for all future streams.
Co-authored-by: Rafael Fourquet <fourquet.rafael@gmail.com>