question: private static final boolean copyHeader ( String name , String fromReq , StringBuffer buf ) { int start = fromReq . indexOf ( name ) ; if ( start != - 1 ) { int end = fromReq . indexOf ( "\r\n" , start ) ; if ( end != - 1 ) { buf . append ( fromReq . subSequence ( start - 2 , end ) ) ; return true ; } } return false ; }
target:  Copies a header from a request