With memcpy but using link list. stack have no limitted length.
without memcpy and length of stack is not limitted.