Hi,
As far as local sites are concerned, simply copy the related files from the old destination to the new one. If it was VirtualHost, as it should be, you can simply change the DocumentRoot and <Directory... to point to the correct location.
Regarding databases, the only way is to export/import SQL files.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons