use stream-cp to copy files