Added an option to copy from an existing file
fixed async weirdness
Merge pull request #2 from namshi/copy

Added option to copy