boot: make a copy of the old generated file