basic sync package for idempotent sync of source to destination