[JENKINS-24515] Allow copy folders.