but you know normal consumer styrofoam cannot handle epoxy. It will dissolve and most likely destroy your casting.
Epoxy does not dissolve foam. Polyester resin does.
WEST SYSTEM - Projects - The "lost foam" method of composite fabrication