Works is a program that comes preinstalled on your harddrive. They have a cd that comes with the computer, but is usually company specific (dell, toshiba, hp..etc) due to drivers working correctly. Best thing to do is put all your files on a flashdrive and transfer them over to the new pc. It is not possible to transfer one program to another computer.
Here is an option: microsoft has a free trial of office which has word among other things. Upload your files via flashdrive and save..keep in mind it is a trial, but it sounds like you are more concerned with transferring the files to the new pc.
http://office.microsoft.com/en-us/try/
Hope that helps you out.
-Sammich