Sets the given component on the copied entity.
protected void Set<T>(in T component, bool isEnabled);
T
The type of the component.
component
T
The value of the component.
isEnabled
System.Boolean
Whether the component is enabled or not on the source Entity.