Added copy memory interface