# StrCpy (Kernel)

`StrCpy`(destString srcString [max])

  Copies destString to srcString. If max is specified, only max number of characters are copied. It returns a pointer to the destString.

  Parameters: | destString (string) – The destination string buffer. srcString (string) – The source string. max (number) – The maximum number of chars to copy.
  Returns: | A pointer to destString.

  Example:

      (procedure (SomeFunc &tmp [aString 40])
              (StrCpy aString "Hello World")
      )