Implement Array#replace
Tweak Array#replace:

- Use other_w as parameter name
- Use same code for replace and initialize_copy
Merge pull request #353 from judofyr/array-replace

Implement Array#replace