edited copy_forest.cc, will switch to branch copy-forest