Assuming in a galaxy far far away there is a type 2 civilization (currently on the verge of transitioning to type 3).
Their scientists predicted that the star (red giant) they are orbiting is going supernova probably within a couple of years (a decade maximum), they won't be able to evaluate everybody in time.
My question is how can they stop the supernova? If it can't be put out in time how can they survive this ordeal?
Note: I'll accept any good answer such as the scientists somehow managed to build a king size Noah ark that can sing opera finds and fits itself inside a cosmic superstring located just outside their planetary system (call it coincidence) and come out at the other side of the universe unharmed but visibly shaken.