Copy object creating a new layer with the same properties with python?

Hello, How are you ? I would like to know we could copy an object to a duplicate layer with same properties of the first one ! Do you know if its possible with a python script ?
Thank you so much
Have a good weekend:)