performance tuning: _copy and update_v3

_copy: no loop for keys

update_v3: First, check the most common format line (like: key=value), then
check other format line by "elsif" instead of "if".
Merge pull request #1 from hirose31/tuning_update_v3

performance tuning: _copy and update_v3