Here's a detailed guide I wrote on flashing firmware from one ESP32 to another: Flashing Firmware to an ESP32 Using Another ESP32. It covers the entire process step by step. Feel free to check it out and ask if you have any specific questions!