final DataStore store = runtime.getDataStore();
store.readEntry(href.getString(), href.getBaseURI().toASCIIString(), "*/*", null, new DataReader() {
public void load(URI id, String media, final InputStream src, long len)
throws IOException {
RuntimeValue target = getOption(_target);
URI uri = store.writeEntry(target.getString(), target.getBaseURI().toASCIIString(), media, new DataWriter() {
public void store(OutputStream dst) throws IOException {
byte[] buffer = new byte[bufsize];
int read = src.read(buffer, 0, bufsize);
while (read >= 0) {
dst.write(buffer, 0, read);