Hi
Path finding isn't the right tool for such a thing. Pathfinding as it name states is able to move an object to a destination by avoiding obstacles in between.
All you have to do is to store the pattern of the object that you are trying to move as a set of coordinates.