Supposedly, Time Machine can be used to install an exact replica of your existing system, including even such details as app and viewing preferences and icons. My external hard drive would not physically fit into my laptop, so an actual disk swap couldn’t be done; however, I could use Time Machine restore my exact system configuration to my current laptop (assuming the hardware still worked) or to a new machine.