---
name: "ustrcpy"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ustrcpy"
---

# ustrcpy(3alleg)

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**(3alleg)](/uconvert/3alleg.md), [**ustrzcpy**(3alleg)](/ustrzcpy/3alleg.md), [**ustrncpy**(3alleg)](/ustrncpy/3alleg.md), [**exunicod**(3alleg)](/exunicod/3alleg.md)
