Document copyFunction changing statement sid

Closes #143.