copy: tar cvf - . > tmp
extract: tar xvf tmp 
