it mainly has to do with a product called cupramine.
best thing to get rid of ich. .. not sure if many freshwater aquarists use it, but used by salties.
the UV breaks the amine-copper bonds, increasing the toxicity of Cu.
as a general rule - when medicating, turn off UV.
in a salt water tank, turn off the UV at night as well.