Trying to change out a ceiling fan need help... 5 wires
Note sure of how you connected them. If Load if attached to neutral its going to make a short circuit and Breaker flips.

Bare Copper wires is usually earthing. Usually black wire is Load and white wire is Neutral. If Black is joining to black(also white with white) then it represent a serial connection that may be used in some other place using the same switch.