So I have earphones with a built in mic and the 3.5mm jack was broken so I cut the cable at the base where it meets the jack. And I have another 3.5mm headphone jack from some old headphones that has the wires for the built in miss as well. I was wondering which wires go together. On the earphone side there is a red, green, and copper colored wires and they all have an enamel coating. There is also a bare wire that seems to be copper but its green colored. On the replacement 3.5mm headphone jack there are a red green and copper colored wires again with an enamel coating. There is also a bare copper wire like the green colored one from the headphones. How do I wire all of this correctly? Please help.