[Restructure] More robust multi-platform file copying

Improved my copyFiles/copyDirs functions to only check/mkdir once and
not for each file (better performance).  Added options for single file
rename, and for batch file extension renaming.  This is more robust and
platform agnostic.   Quasi-downside is explicitly listing the .md files.