title: Javascript - copy link
body: <p>I want to extract a part of a website address and append it to an other link. </p>
  
  <p>Example: website.com/abc123 --> otherwebsite.com/abc123</p>
  
  <p>Is there an easy way to do this?
  I'm new to JavaScript</p>