# Copy using a pattern Transformer

**URL:** <https://forum.alumio.com/t/copy-using-a-pattern-transformer/1420>\
**Category:** Transformers\
**Created:** [November 18, 2024, 9:42am UTC](https://forum.alumio.com/t/copy-using-a-pattern-transformer/1420 "2024-11-18T09:42:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![o.plokha](https://forum.alumio.com/user_avatar/forum.alumio.com/o.plokha/32/337_2.png) [@o.plokha](https://forum.alumio.com/u/o.plokha)\
**Post date:** [November 18, 2024, 9:42am UTC](https://forum.alumio.com/t/copy-using-a-pattern-transformer/1420/1 "2024-11-18T09:42:57Z")

</div>

### Table of contents

- General description
- The different parts of the Copy using a pattern Transformer

### **General description**

The Copy using a pattern Transformer takes a part of the entity data and copies it. This can be useful, for example, when only a shipping address is given but no additional billing address. If a target API requires both, the Copy using a pattern Transformer can be used to duplicate the data across both required fields.

### **The different parts of the Copy using a pattern Transformer**

- **Pattern (required field)**  
This is the path towards the entity data that needs to be copied.

- **Replacement** **(required field)**  
This is the output location where the copied data will be added.

- **Conditions**  
This ensures that it copies the data only when a certain condition is met. For example, when a box is checked to confirm that the billing and shipping are the same address.

 ![image](https://alumio-forum.s3.dualstack.eu-central-1.amazonaws.com/uploads/original/2X/5/5f44905499329542db450ef31871cdc6933ccbac.jpeg)
