Copying a directory from one system to another is easy:
$ rsync -avz -e ssh directory/ user@systemB:directory/