This depends on the programs. Most programs will situate their contents in multiple locations, so if it's on your computer, you'll need to know where all of a program is stored. It can be easier to download the program from scratch again as it brings in all of the needed content for you. If you are trying to transfer from a computer, at the very least be sure to capture the EXE, Application and Java files; however, there are usually many other files too. Also, the programs will differ between operating systems (for example, EXE is Windows, while .app is Mac). End answer: it can be done but it's easier if you can download the program afresh.
This depends on the programs. Most programs will situate their contents in multiple locations, so if it's on your computer, you'll need to know where all of a program is stored. It can be easier to download the program from scratch again as it brings in all of the needed content for you. If you are trying to transfer from a computer, at the very least be sure to capture the EXE, Application and Java files; however, there are usually many other files too. Also, the programs will differ between operating systems (for example, EXE is Windows, while .app is Mac). End answer: it can be done but it's easier if you can download the program afresh.