#include <unistd.h>

char    *ft_strcpy(char *s1, char *s2)
{
	int i = 0;

	while (s2[i] != '\0')
	{
		s1[i] = s2 [i];
		i++;
	}
	s1[i] = '\0';
	return (s1);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: