Update and rename traverse.js to copyDir.js