# Creating a copy of a mc

**URL:** <https://forum.kirupa.com/t/creating-a-copy-of-a-mc/280094>\
**Category:** Uncategorized\
**Created:** [January 22, 2009, 4:13pm UTC](https://forum.kirupa.com/t/creating-a-copy-of-a-mc/280094 "2009-01-22T16:13:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mediashock](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Mediashock](https://forum.kirupa.com/u/Mediashock)\
**Post date:** [January 22, 2009, 4:13pm UTC](https://forum.kirupa.com/t/creating-a-copy-of-a-mc/280094/1 "2009-01-22T16:13:09Z")

</div>

Hello,  
I am creating a new instance of a class file lets say Person

```auto
var p:Person = new Person();

```

and then i am customizing it…

```auto
p.height = 44;

```

etc

now I am making 10 or 20 persons in a for loop… but how can I clone ONE specific(3rd )of those  
I was thinking

```auto
if(i==3){
// create instance of the already customized one .. i seen this done before but i cant seem to find info on it.. something like var newp3:DisplayObject as Person()??? please help

}

```
