copy installed files from one debian system to another:

dpkg --get-selections > installed_files
copy installed_files to the target system
dpkg --set-selections < installed_files
apt-get dselect-upgrade