Dropbox also has a bit of secret sauce. They have some technology that can pick up which bits changed in a file and only sync those (which makes their service way faster than others)
librsync (http://sourceforge.net/projects/librsync/) does this. It's LGPL'd so I wouldn't be surprised if they were using it. Certainly a lot simpler than reinventing the wheel.