Forked in java version of copy cacher