updated copy command to use readableStream.pipe to match recent node versions