In DC which wire will lose more enrgy 5m copper or 5m aluminium?

For wires of equal diameter and length, alumimum will have the higher resistance. When connected across the same voltage source, the aluminum wire will convert less energy to heat, because less current will flow.