dynamic stack with memcpy completed