Added copy directory support.

Added CopyDirectory tests.