# Copy Row

Copies a row to another row within the same file.


---

### **⬅️INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `FilePath` | `String` | ✅ Yes    | Excel file path |
| `Data`    | `Byte[]` | ✅ Yes    | Excel binary data |
| `SheetName` | `String` | ❌ No     | Sheet name  |
| `FromRow` | `Int32` | ❌ No     | Source row number |
| `ToRow`   | `Int32` | ❌ No     | Target row number |


---

### **➡️OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsCopyRowSuccessful` | `Boolean` | Whether the operation succeeded |
| `CopyRowMessage` | `String` | Result message |
| `CopyRowResult` | `Byte[]` | Updated Excel file |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |