code: func CopyToContext(target, source context.Context) context.Context {
  	// Copy logger
  	if l, ok := logger.FromContext(source); ok {
  		target = logger.WithLogger(target, l)
  	}
  
  	// Copy reporter
  	if r, ok := reporter.FromContext(source); ok {
  		target = reporter.WithReporter(target, r)
  	}
  
  	// Copy request id
  	target = httpx.WithRequestID(target, httpx.RequestID(source))
  
  	// Copy trace span
  	if span := opentracing.SpanFromContext(source); span != nil {
  		target = opentracing.ContextWithSpan(target, span)
  	}
  
  	return target
  }
docs: // CopyToContext copies common httpx values injected into a request context to a
  // target context. See #Copy for an explanation of why this might be useful.