return copy;
}
public static void wrapAndThrowAsRuntimeException(final Exception e) throws NetworkIOException {
if (e instanceof IOException) {
throw new NetworkIOException((IOException)e);
} else if (e instanceof NetworkIOException) {
throw (NetworkIOException)e;
} else if (e instanceof RuntimeException) {
throw (RuntimeException)e;
} else {