# Duplicate index file with a sketch

**URL:** https://discourse.processing.org/t/duplicate-index-file-with-a-sketch/21589
**Category:** p5.js
**Created:** [June 5, 2020, 10:44am UTC](https://discourse.processing.org/t/duplicate-index-file-with-a-sketch/21589 "2020-06-05T10:44:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dcipollo](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dcipollo](https://discourse.processing.org/u/dcipollo)
#### Post date: [June 5, 2020, 10:44am UTC](https://discourse.processing.org/t/duplicate-index-file-with-a-sketch/21589/1 "2020-06-05T10:44:47Z")

</div>

Is it possible to duplicate the index.html file in a sketch. The only options in the pop-up menu are rename or delete. Or do I need to copy/paste the code into a blank new file? Thanks

---

<div class="post-metadata">

### Author: ![Sven](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sven/32/8293_2.png) [@Sven](https://discourse.processing.org/u/Sven)
#### Post date: [June 5, 2020, 11:53am UTC](https://discourse.processing.org/t/duplicate-index-file-with-a-sketch/21589/2 "2020-06-05T11:53:28Z")

</div>

Hello! Yes, if you’re using [https://editor.p5js.org](https://editor.p5js.org), copy and paste is the way to go.
