different versions?

can someone tell me a shell-script to convert an older version of a file with the current one?

cat newfile > oldfile