Simple answer is yes you can transfer any data provided both computers are equipped with serial ports and you use a crossover data cable.
However, from experience, I have found it a whole lot easier to use a USB dongle/memory stick to transfer files from one computer to another.
Tweakie.