Copies/merge the values from this instance to the specified HtmlAttributes instance.
public void CopyTo(HtmlAttributes htmlAttributes, bool mergeIdAndProperties = false, bool shared = true)
The HTML attributes.
If set to true it will merge properties to the target htmlAttributes. Default is false
If set to true it will try to share Classes and Properties if destination don't have them, otherwise it will make a copy. Default is true