<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy(self):
 """Returns a copy of the RigidTransform. Returns ------- :obj:`RigidTransform` A deep copy of the RigidTransform. """

        return RigidTransform(np.copy(self.rotation), np.copy(self.translation), self.from_frame, self.to_frame)