Chops,
Fiberglass resin will disolve styrofoam used in upolstry and for wall insualtion. I know because I have tried them. There are many closed cell foams that will work and there are many that will not work. The problem is that we tend to call them all Styrofoam, which they are not.
If you buy from a Surfboard or Fiberglass supplier you will get a choice of foams in different sizes with different properties, but they are all designed to work with fiberglass.
...Rich