How to duplicate object using Python

Hello I’m trying to copy object using this code

ob =
ob_dup = ob.copy()
ob_dup =

but it just creates orphan mesh and not shows in scene, does anyone know why is it happening and how to fix it to work? I tried searching web for answer but couldn’t find any help with my problem so now Im here

you have to add the object you copied to a scene collection: