https://github.com/dead-horse/copy-to/commit/ac3a8916f1e55406b028d097805ef3f8455813b2