The science is much less settled on how that will happen. We're not even sure if the universe will come to a firm, defined end, or just slowly tail off. Our best understanding of physics suggests there are several options for the universal apocalypse. It also offers some hints on how we might, just maybe, survive it.
http://www.bbc.com/earth/story/20150...e-universe-end