<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def transfer_state_data(cls, source_entity, target_entity):
 """ Transfers instance state data from the given source entity to the given target entity. """

        state_data = cls.get_state_data(source_entity)
        cls.set_state_data(target_entity, state_data)