Bookmarks -> Organise bookmarks... -> File -> Export...
That'll work for either option, but if you want to transfer more than just your bookmarks to another Fx install, you could copy your profile folder (which lives at %APPDATA%\Mozilla\Firefox\) on to the other machine.