On Friday, 10 April 2015 at 09:15:11 UTC, Walter Bright wrote: > ref2 is copied. You cannot copy a resource like a memfile. It is already closed and the memory is gone.