To download all the content of a site,we can use wget command
wget --random-wait -r -p -e robots=off -U tets www.example.com
-r for recursively download
–random-wait for a random time period to wait to get response
-U for User-Agent string.
-p for to get all images, etc. needed to display HTML page
Note:we can also use httrack tool to dump a website.