rsync is a clever algorithm for synchronizing files in a way that is bandwidth efficient. It was invented by Andrew Tridgell and Paul Mackerras. It is described here:
http://samba.anu.edu.au/rsync/tech_report/tech_report.html
rsync is also a program that implements the algorithm.