Current in RC circuit
When looking at current the direction of the arrow matters....

\$I_c = -I_R\$ 

That does NOT cancel out because the arrow for \$I_R\$ is in a different direction around the circuit from \$I_C\$.

All it is saying is the current going down through the capacitor is the same value as the current going up though the resistor.