support copying full directories in overlays