Prevent copying a directory into itself. Links to AvianFlu/ncp#4

Conflicts:
	test/ncp.js