I have an object and data class which are implementing the same interface. Is it possible to copy object properties into data class ?
with this declarations: