Some epoxy products can dissolve certain foam materials, so when bonding to polystyrene foam, also known as Styrofoam®, always test a small piece to see if it has the desired effect. There are products made to coat polystyrene, to form a protective barrier and ensure that it is safe to apply other epoxy products over it.