make copy by memory & print current memory