Functions for walking and copying directory structures with JavaScript and CoffeeScript.