Can I retain my forum content if I change its original IP?

The reason I want a new IP is that my forum was without protection for months until I recently set up Cloudflare. I believe someone already knows the original IP and is trying to launch an attack on the site. Will having the floating IP help protect the site if someone is attacking the original IP?