Added ability to recursively copy directories