Shadow OAM is a page of RAM laid out like the sprite table. The game writes its sprites there during the frame, and a DMA copies the page to the video chip in vertical blank. Entries a frame doesn’t use are moved off screen so old sprites don’t linger.