There is a stackoverflow question concerning where Firefox saves its passwords. This information becomes very valuable in case you don't want to enter (and maybe can't remember) each and every password of websites which require authentification.
In my case it works copying the files:
I don't say it will work always but this situation is working well.
The above mentioned files are located in your Firefox profile folder.