added tests for Str.IO.copy and copy()