here we go, just some simple upload code that uploads documents into a document library.

It also checks if the same file exist in the destination library before upload.