A device and a method for attaching a cover to a structure such as a boat. A plurality of complementary configured ferrous and magnetic fasteners is used. The existing fasteners on the boat may be removed or modified to secure the new fasteners. The existing fasteners on the cover may receive a replacement fastener.