dd duplicates directories. It’s a terminal app. Built into all Linux distros. For more details, do a man dd in a terminal session. Clonezilla is a distro that runs a live system from USB or DVD which lets you backup and restore entire systems. Both are powerful, but have a learning curve.