ATmega2560-16AU question using it as an isp

Hi there,
i am new to the forum and have a question. I have searched over the net but couldn't find a clear answer except one thread in this forum with the problem i want to know ifthere is a solution. So let's take the story from the very start. I bought an arduino ATmega2560-16AU Module Board but then i found that there is no clear answer if i can program a atmega328P-PU (to be stand-alone) by connecting some specifics pins from the module board to a "handmade" board which has the 328P-PU microcontroller. I saw that it is possible with a uno board to make a stand-alone board with the same microcontroller and you can "pass" the code from one board to another, excuse me for my ignorance and my vocabulary but i am a pretty new to this technology section. So can anyone confirm if IT IS possible to copy the code (from a specific project) from the ATmega2560 board to a handmade with the 328p-pu microcontroller, of course with the right connections and with the right i/o management?
Thanks in advance :slight_smile:

If you use the code found on this page: Gammon Forum : Electronics : Microprocessors : Atmega bootloader programmer

I believe you can substitute the Uno with your 2560 board.