I believe the powder magazines were lined with copper to minimize the possibility of sparks.
Way back in the day, on a Coast Guard buoy tender, we had bronze tools from the still earlier days of acetylene lamps, and for that very reason: bronze tools will not create sparks.
And the old (now retired} lightship radio rooms were in a separate deckhouse made of bronze. I can't say exactly why.