Copy custom options from one product to another Magento
<blockquote>
  <p>Hi i need to copy a custom options from one product to another.</p>
</blockquote>

<p>I have search so much on google but </p>

<blockquote>
  <p>everywhere it is suggested to create a array than assign ,</p>
  
  <p>but i need to copy them through script.</p>
</blockquote>

<p>Please suggest me if someone has some reference for this. </p>