---
name: "byte_copy"
section: "3diet"
platform: "linux"
package: "libowfat-dev"
version: "0.28-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/byte_copy/3diet"
---

# byte\_copy(3diet)

copy a string

## NAME

byte\_copy - copy a string

## SYNTAX

**#include \<byte.h\>**

void **byte\_copy**(char \**out*,size\_t *len*,const char \**in*);

## DESCRIPTION

*byte\_copy* copies *in*\[0\] to *out*\[0\], *in*\[1\] to *out*\[1\], etc., and finally *in*\[*len*-1\] to *out*\[*len*-1\].

## SEE ALSO

[byte\_copyr(3)](/byte_copyr/3.md)
