"The file location is "%APPDATA%\Mozilla\Firefox\Profiles". Simply copy that, throw it on a flash drive, and then move it to the same location on the new machine."
Since I do this all the time, if you have an existing Firefox install, delete the data that's already there and put the backup there so Firefox uses that instead of the other profile
AFAIK, there's no way to merge the data via this method