I want to change my 6" pot light ( can light, or recessed light) to a canopy light.? - recessed pot lights

the hole can be covered by the canopy of the new light, but I have the metal box to change the backup? I do not know exactly all the steps they should take. The canopy light is very low.