Coacine can be detected in the system anywhere between 12 hours and 4 days after intake.Taking Zinc for the two days increasing dose of the zinc and stopping a few hours before testing zinc seems to mask cocaine and a couple other drugs for a small time window.
Source: DrGoodEarth Website