"icecream" is not a standard spelling. I recommend "ice cream" instead. Apart from that, they are both acceptable, but the meaning is slightly different.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.