Merges a source directory and an overlay directory into a destination directory.