Microsoft Interview Question

How to build a system to sync files in two folders?