# table.CopyFromTo

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/table.CopyFromTo
- **Çeviri tarihi:** 2025-09-08

```lua
table.CopyFromTo( table source, table target )
```

## Açıklama

Hedef tabloyu boşaltır ve kaynak tablodaki tüm değerleri bu tabloya birleştirir.

## Argümanlar

1. [table](https://gmod.tr/wiki/table) **source**: Kopyalama yapılacak kaynak tablo.
2. [table](https://gmod.tr/wiki/table) **target**: Yazma yapılacak hedef tablo.

### Örnek

Bu fonksiyonun kullanımını gösterir.

```lua
local Test1 = {A = "String keys", B = "Table 1"}
local Test2 = {"Numeric keys", "Table 2"}
table.CopyFromTo( Test2, Test1 )
PrintTable( Test1 )
```

**Çıktı:**

```lua
1 = Numeric keys
2 = Table 2
```

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/table.CopyFromTo
