The genomic basis of copper tolerance in Drosophila is shaped by a complex interplay of regulatory and environmental factors