<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 deep copy of the particle. The particle is not added to any simulation by default. """

        np = Particle()
        memmove(byref(np), byref(self), sizeof(self))
        return np