Yeah I got you, but what you said was a blanket statement. They are for sure not all the same. Is there no difference between EPS and Brock foam? Hardshell vs In-mold? Let us not forget about safety certifications. I bet the two that probably saved your life were ASTM F2040 certified.
So they are similar, but there many factors that make a helmet safe.