# Copy using a pattern

**URL:** <https://forum.alumio.com/t/copy-using-a-pattern/276>\
**Category:** Transformers\
**Tags:** data-transformer\
**Created:** [November 8, 2022, 12:34pm UTC](https://forum.alumio.com/t/copy-using-a-pattern/276 "2022-11-08T12:34:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alumio\_Bot](https://forum.alumio.com/user_avatar/forum.alumio.com/alumio_bot/32/1824_2.png) [@Alumio\_Bot](https://forum.alumio.com/u/Alumio_Bot)\
**Post date:** [November 8, 2022, 12:34pm UTC](https://forum.alumio.com/t/copy-using-a-pattern/276/1 "2022-11-08T12:34:23Z")

</div>

### **Table Of Contents**

- Use case
- Guide
- Video guide

### **Use case**

This transformer is predominantly used when there is a requirement of copying objects to another key.

### **Guide**

Here’s how you can implement the transformer.

Step 1: Click on Add Data Transformer and select the Copy Using A Pattern transformer.

Step 2: You have to select the Pattern (origin key) first.

Step 3: Next, you have to select the Replacement (copy destination). The best part is that you can copy multiple objects while implementing this transformer. All you need to do is utilize the \* notation after the variable in the field of Pattern and $1 notation after the copy destination in the Replacement field.

Step 4: If you click on the Run Test button, you will see that the transformer has copied the objects to the destination key (provided in the Replacement field).

### **Video guide**

[![](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/1X/de19c0b1667f0f206ce2fa2a634ce0f2ee13c8ec.jpeg "Copy using a pattern") ](https://www.youtube.com/watch?v=ccRHfFLDCao)
