func (u *URI) CopyTo(dst *URI) {
	dst.Reset()
	dst.pathOriginal = append(dst.pathOriginal[:0], u.pathOriginal...)
	dst.scheme = append(dst.scheme[:0], u.scheme...)
	dst.path = append(dst.path[:0], u.path...)
	dst.queryString = append(dst.queryString[:0], u.queryString...)
	dst.hash = append(dst.hash[:0], u.hash...)
	dst.host = append(dst.host[:0], u.host...)

	u.queryArgs.CopyTo(&dst.queryArgs)
	dst.parsedQueryArgs = u.parsedQueryArgs

	// fullURI and requestURI shouldn't be copied, since they are created
	// from scratch on each FullURI() and RequestURI() call.
	dst.h = u.h
}
func (u *URI) CopyTo(dst *URI) {
	dst.Reset()
	dst.pathOriginal = append(dst.pathOriginal[:0], u.pathOriginal...)
	dst.scheme = append(dst.scheme[:0], u.scheme...)
	dst.path = append(dst.path[:0], u.path...)
	dst.queryString = append(dst.queryString[:0], u.queryString...)
	dst.hash = append(dst.hash[:0], u.hash...)
	dst.host = append(dst.host[:0], u.host...)

	u.queryArgs.CopyTo(&dst.queryArgs)
	dst.parsedQueryArgs = u.parsedQueryArgs

	
	
	dst.h = u.h
}
func ( u * URI ) CopyTo ( dst * URI ) { dst . Reset ( ) dst . pathOriginal = append ( dst . pathOriginal [ : 0 ] , u . pathOriginal ... ) dst . scheme = append ( dst . scheme [ : 0 ] , u . scheme ... ) dst . path = append ( dst . path [ : 0 ] , u . path ... ) dst . queryString = append ( dst . queryString [ : 0 ] , u . queryString ... ) dst . hash = append ( dst . hash [ : 0 ] , u . hash ... ) dst . host = append ( dst . host [ : 0 ] , u . host ... ) u . queryArgs . CopyTo ( & dst . queryArgs ) dst . parsedQueryArgs = u . parsedQueryArgs // fullURI and requestURI shouldn't be copied, since they are created // from scratch on each FullURI() and RequestURI() call. dst . h = u . h }
// CopyTo copies uri contents to dst.
CopyTo copies uri contents to dst .