Copy vs clone

Hi
Can someone tell me whats the exact difference between copy and clone function with a detailed example?

In reply to janudeep3:

Clone will create the object and then will do copy whereas copy will do copy only.

In reply to pppp40:

Can u provide me an example? I know that both of them perform deep copy, but What Iam not able to understand is How this deep copy differs?

https://verificationacademy.com/forums/ovm/importance-clone-method

you need to create the source and destination object before calling the copy() method on them.
But in clone() method you need not to create the destination object as clone() method will do it for us automatically.

Please refer the following snippet.

some_xtn h1, h2;
///////////// copy() /////////////
begin
h1= new("h1");
h2 = new("h2");

h2.copy(h1);
end 

///////////// clone() ////////////

begin
    h1=new('h1");
    h2.clone("h1");
end

Regards
Ujjwal