generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own. Note: this routine may be called multiple times.
Note: this routine may be called multiple times.