if test -d ../results/$1
then echo directory exists
else mkdir ../results/$1
fi

cp $1.r ../results/$1/$1.r.txt
cp urusserr.tmp ../results/$1/urusserr.tmp.txt
cp urussout.tmp ../results/$1/urussout.tmp.txt
cp ulink.tmp ../results/$1/ulink.tmp.txt
cp progress.tmp ../results/$1/progress.tmp.txt
cp reduce.tmp ../results/$1/reduce.tmp.txt
cp ccode.tmp ../results/$1/ccode.tmp.txt
cp stats.tmp ../results/$1/stats.tmp.txt
cp lists.tmp ../results/$1/lists.tmp.txt
cp nodes.tmp ../results/$1/nodes.tmp.txt
cp cons.tmp ../results/$1/cons.tmp.txt
cp tree.tmp ../results/$1/tree.tmp.txt
cp sym.tmp ../results/$1/sym.tmp.txt
cp russ_err.tmp ../results/$1/russ_err.tmp.txt
cp russ_info.tmp ../results/$1/russ_info.tmp.txt


