Node Buffer copy method