Code:
void somefunc(PS ps)
{
      S s = *ps;
}
The contents of *ps are copied by value into s