Copy hidden files at top level directory

Hidden files ignored at top level directory due to * vs . passed to
cp command.

Patch by @wallyqs and @JeanSebTr via github pull requests
which got closed and never brought back in.