text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_memcpy.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: tmaluh <marvin@42.fr>                      +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2018/10/24 11:04:50 by tmaluh            #+#    #+#             */
  /*   Updated: 2018/10/26 19:28:56 by tmaluh           ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "../../includes/lft_mem.h"
  #include "../../includes/lft_str.h"
  
  pvoid	ft_memcpy(pvoid dest, const pvoid src, size_t n)
  {
  	size_t	i;
  	string	dst;
  	string	sc;
  
  	dst = (string)dest;
  	sc = (string)src;
  	i = 0;
  	while (i < n)
  	{
  		dst[i] = sc[i];
  		i++;
  	}
  	return (dest);
  }
  