use rsync to copy files.