Use IO.copy_stream to copy the package to import.
Merge pull request #194 from mkuron/copystream

Use IO.copy_stream to copy the package to import.