---
name: "ustrcpy"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ustrcpy/3alleg4"
---

# ustrcpy(3alleg4)

Copies a string into another one. Allegro game programming library.

## NAME

ustrcpy - Copies a string into another one. Allegro game programming library.

## SYNOPSIS

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

**char \*ustrcpy(char \*dest, const char \*src);**

## DESCRIPTION

This function copies \`src' (including the terminating null character into \`dest'. You should try to avoid this function because it is very easy to overflow the destination buffer. Use ustrzcpy instead.

## RETURN VALUE

Returns the value of dest.

## SEE ALSO

**uconvert**(3alleg4), **ustrzcpy**(3alleg4), **ustrncpy**(3alleg4), **exunicod**(3alleg4)
