write a simple julia recursive copy method so we don't have to shell out