A metal M does not liberate hydrogen from acids but reacts with oxygen

A metal M does not liberate hydrogen from acids but reacts with oxygen to give a black coloured product. Identify M and black coloured product and also explain the reaction of M with oxygen.

M is copper. Copper does not react with acids but reacts with oxygen to form copper oxide.