core/dsl: added option excludeDirectories to copyDirectory instruction