Old treated stuff was called CCA, which was short for Copper, Chromium and Arsenic, the latter of course being a heavy metal element and in concentrated form, a poison. Despite that, it is also found in trace amounts in the foods we eat and in trace amounts, an essential nutrient for some species.
New stuff is MCA, which is short for Micronized Cooper Azole.......essentially a finely ground copper dust. The azole is a fungicide. The two of them are put into a liquid suspension and are then injected into the wood using high pressure.
The new stuff is safe enough for the birds......but won't last as long as the old stuff did. New stuff....at least most of what you can buy at the lumber yard......is not rated for ground contact, so won't last as long as the old stuff if you bury it or put it in contact with the ground.
FWIW, I used both in my Woods coop and have no concerns at all. (CCA was used for the 4" x 6" skids the whole thing rests upon and is buried under the deep litter......I didn't want those rotting out).