copyDirSyncRecursive: Remove obsolete typeof check

Variable `opts` is never undefined at this point because
of "opts = opts || {};".