Don't try it. Maybe you've been tempted by the variety of adhesives that bond metals, but don't try it on a copper supply line.
You can, though, get an adapter to go from copper to cpvc - so you can glue the rest of it.
One option would be a fitting like this
to go from the copper to cpvc - and glue it all from there.
I suggest, though, going one step better to avoid having a compression fitting on your line: Have someone solder a male or female adapter on for you so you can screw cpvc into it and go from there...a fitting like one of these:
It'll be downhill from there!
